<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>查看所有学生名单</title>
    <style>
table, td, th
{
	border:1px solid blue;
}
th
{
	background-color:blueviolet;
	color:white;
}
</style>
<body>
    <table border="1px">
        <thead>
            <tr>
                <th>name</th>
                <th>age</th>
                <th>gender</th>
            </tr>
        </thead>
        <tbody>
            {% for i in students %}
                <tr>
                    <td>{{i['name']}}</td>
                    <td>{{i['age']}}</td>
                    <td>{{i['gender']}}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
</body>
</html>